#ifndef CSPIDER_H
#define CSPIDER_H

#include "CEnemy.h"
#include "Globals.h"
#include "SGD_Math.h"

class CSpider : public CEnemy
{
private:

	float	m_fAttackSpeed;		// how offten an attack will be preformed.
	int		m_nTarget;			// The enmey's target
	int		m_nAttackSFXID;		// The sound effect for attacking
	int		m_nDieSFXID;		// The sound effect for dieing.
	int		m_nSpriteID;		// The spider's sprite

	// Things Needed:
	// Sprite + Animation
	// Sound Fx(s)

public:

	CSpider();							// constructor
	~CSpider() {};						// destructor

	void Update(float ElapsedTime);		// update the enemy every frame
	void Render();						// show up on screen
	
	bool CheckCollision();				// check collision against all other objects 

	// Accessors
	float GetAttackSpeed(void)	{return m_fAttackSpeed;}
	int GetTarget(void)			{return m_nTarget;}

	// Mutators
	void SetAttackSpeed(float AtkSpd)	{m_fAttackSpeed = AtkSpd;}
	void SetTarget(int Target)			{m_nTarget = Target;}
};

#endif